<template>
	<view class="content">
		<view class="hezi">
			<rich-text :nodes="nodes"></rich-text>
		</view>
		
		<!-- <view  v-for="(item,index) in list" :key="index">
			{{item.xieyi}}
		</view> -->
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				nodes:'',
				list:[],
			}
		},
		onLoad() {
			this.loadData()
		},
		methods: {
			loadData(){
				this.$http.post('/api/Index/get_contract',{type:'farmer'}).then(res => {
				      this.nodes=res.data.data.contract;
						
					})
			}
		}
	}
</script>

<style lang="scss" scoped>
.hezi{
	height: 100%;
	width: 90%;
	margin:0 auto;
}

</style>
